package entity;

public class schangs {
	protected int sid;
	protected String cname;
	protected String sgeneral;
	protected String rname; 
	protected int rtel;
	protected String stime;
	protected String sstate;
	
	public schangs() {
		
	}
	
    public schangs(int sid,String cname,String sgeneral,String rname,int rtel,String stime,String sstate) {
		this.sid=sid;
		this.cname=cname;
		this.sgeneral=sgeneral;
		this.rname=rname;
		this.rtel=rtel;
		this.stime=stime;
		this.sstate=sstate;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getSgeneral() {
		return sgeneral;
	}

	public void setSgeneral(String sgeneral) {
		this.sgeneral = sgeneral;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public int getRtel() {
		return rtel;
	}

	public void setRtel(int rtel) {
		this.rtel = rtel;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public String getSstate() {
		return sstate;
	}

	public void setSstate(String sstate) {
		this.sstate = sstate;
	}

	@Override
	public String toString() {
		return "schangs [sid=" + sid + ", cname=" + cname + ", sgeneral=" + sgeneral + ", rname=" + rname + ", rtel="
				+ rtel + ", stime=" + stime + ", sstate=" + sstate + "]";
	}

}
